[INFO] cloning repository https://github.com/uranusjr/shimmer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uranusjr/shimmer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa20cbd456db840f58ec443f5fe9a6d8c20aeea2
[INFO] building uranusjr/shimmer against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanusjr%2Fshimmer" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/uranusjr/shimmer on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/uranusjr/shimmer
[INFO] finished tweaking git repo https://github.com/uranusjr/shimmer
[INFO] tweaked toml for git repo https://github.com/uranusjr/shimmer written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/uranusjr/shimmer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5cff187603cf79f4f44aaadf9b9315e33daa0c41fade2aa6cf645b4cc34f4ee2
[INFO] running `Command { std: "docker" "start" "-a" "5cff187603cf79f4f44aaadf9b9315e33daa0c41fade2aa6cf645b4cc34f4ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cff187603cf79f4f44aaadf9b9315e33daa0c41fade2aa6cf645b4cc34f4ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cff187603cf79f4f44aaadf9b9315e33daa0c41fade2aa6cf645b4cc34f4ee2", kill_on_drop: false }`
[INFO] [stdout] 5cff187603cf79f4f44aaadf9b9315e33daa0c41fade2aa6cf645b4cc34f4ee2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7849e0f9bce8af2c041c5ab29d350fa6334e72fd9aea43c19196be1e9d870171
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7849e0f9bce8af2c041c5ab29d350fa6334e72fd9aea43c19196be1e9d870171", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.37
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling winapi v0.3.4
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling ansi_term v0.10.2
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling textwrap v0.9.0
[INFO] [stderr]    Compiling shim v0.1.0 (/opt/rustwide/workdir/shim)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> shim/src/procs.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::os::windows::io::AsRawHandle;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> shim/src/procs.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | use self::winapi::shared::minwindef::{BOOL, DWORD, LPVOID, TRUE};
[INFO] [stdout]    |                   ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> shim/src/procs.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | use self::winapi::um::consoleapi::SetConsoleCtrlHandler;
[INFO] [stdout]    |                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> shim/src/procs.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use self::winapi::um::jobapi2::{
[INFO] [stdout]    |                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> shim/src/procs.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | use self::winapi::um::wincon::{CTRL_C_EVENT, GenerateConsoleCtrlEvent};
[INFO] [stdout]    |                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> shim/src/procs.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 | use self::winapi::um::winnt::{
[INFO] [stdout]    |                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes`
[INFO] [stdout]   --> shim/src/procs.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use self::winapi::ctypes::c_void;
[INFO] [stdout]    |                   ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 31 | unsafe extern "system" fn handle_ctrl(etype: DWORD) -> BOOL {
[INFO] [stdout]    |                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:31:56
[INFO] [stdout]    |
[INFO] [stdout] 31 | unsafe extern "system" fn handle_ctrl(etype: DWORD) -> BOOL {
[INFO] [stdout]    |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     if etype == CTRL_C_EVENT && PID != 0 {
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GenerateConsoleCtrlEvent` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         GenerateConsoleCtrlEvent(PID, CTRL_C_EVENT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:37:39
[INFO] [stdout]    |
[INFO] [stdout] 37 |         GenerateConsoleCtrlEvent(PID, CTRL_C_EVENT);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     TRUE
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let job = CreateJobObjectW(0 as *mut _, 0 as *const _);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut info: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = mem::zeroed();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     ok = QueryInformationJobObject(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         job, JobObjectExtendedLimitInformation,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 |         &mut info as *mut _ as LPVOID,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:53:36
[INFO] [stdout]    |
[INFO] [stdout] 53 |         mem::size_of_val(&info) as DWORD,
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |     if ok != TRUE {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE |
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 |     ok = SetInformationJobObject(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         job, JobObjectExtendedLimitInformation,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         &mut info as *mut _ as LPVOID,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:67:36
[INFO] [stdout]    |
[INFO] [stdout] 67 |         mem::size_of_val(&info) as DWORD,
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     if ok != TRUE {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope
[INFO] [stdout]   --> shim/src/procs.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     AssignProcessToJobObject(job, child.as_raw_handle() as *mut c_void);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope
[INFO] [stdout]    --> shim/src/procs.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let ok = unsafe { SetConsoleCtrlHandler(Some(handle_ctrl), TRUE) };
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> shim/src/procs.rs:115:64
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let ok = unsafe { SetConsoleCtrlHandler(Some(handle_ctrl), TRUE) };
[INFO] [stdout]     |                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> shim/src/procs.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |     if ok == TRUE {
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> shim/src/procs.rs:95:21
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut child = try!(cmd.spawn().map_err(|e| {
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> shim/src/procs.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 |     unsafe { try!(setup_child(&mut child)) };
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> shim/src/procs.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let result = try!(child.wait().map_err(|e| {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling atty v0.2.6
[INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for mutable reference `&mut Child` in the current scope
[INFO] [stdout]   --> shim/src/procs.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     AssignProcessToJobObject(job, child.as_raw_handle() as *mut c_void);
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ method not found in `&mut Child`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 32 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shim`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7849e0f9bce8af2c041c5ab29d350fa6334e72fd9aea43c19196be1e9d870171", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7849e0f9bce8af2c041c5ab29d350fa6334e72fd9aea43c19196be1e9d870171", kill_on_drop: false }`
[INFO] [stdout] 7849e0f9bce8af2c041c5ab29d350fa6334e72fd9aea43c19196be1e9d870171
